package com.invokestatic.shooter.Screens;

import com.invokestatic.shooter.Art;
import com.invokestatic.shooter.Input;

public class SplashScreen extends Screen {

	public int time = 0;
	
	
	@Override
	public void render() {
		spriteBatch.begin();
		
		draw(Art.splashscreen_bg,0, 0);
		drawString("> InvokeStatic 2013", 2,720-18);
		
		spriteBatch.end();
	}

	@Override
	public void tick(Input input) {
		input.tick();
		time++;
		if(!Art.loading) Art.load();
		if(Art.loaded && time >= 120) setScreen(new MenuScreen());
	}

}
